/**
 * 定义站点信息管理模块
 */
(function(window, angular, undefined){
	var Module = angular.module('water.apps.sw.test.video', []);
	
	Module.controller('videoController',function($rootScope,$scope){
//		var pathBase = "http://58.251.161.70:7080/WaterMonitorJs/video/";
		var pathBase = "localhost:8080/nginxSource/video/";
		$scope.src = "http://localhost:8080/nginxSource/video/%E5%8D%A7%E9%BE%99%E4%BA%8C_W3~W4_151220082909.mp4";
		/*var pathBase = "http://192.168.1.168:8080/WaterMonitor/temp/upload/plupload/20170119/";
		$scope.src = pathBase+"20170119173330.mp4";*/
		
		$scope.play = function(name){
			$scope.src = pathBase+name;
		}
	});
}(window, angular));	